package com.chushouya.product.dto.admin.productsku;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品SKU详情DTO
 */
@Data
@ApiModel(value = "商品SKU详情DTO")
public class ProductSkuDetailDTO {

    @ApiModelProperty(value = "SKUID")
    private Long skuId;

    @ApiModelProperty(value = "商品ID")
    private Long productId;

    @ApiModelProperty(value = "商品SKU编码")
    private String skuCode;

    @ApiModelProperty(value = "商品SKU规格")
    private String skuAttrCode;

    @ApiModelProperty(value = "SKU名称")
    private String skuName;

    @ApiModelProperty(value = "SKU最高估价")
    private BigDecimal basePrice;

    @ApiModelProperty(value = "最低评估价")
    private BigDecimal minPrice;

    @ApiModelProperty(value = "估价计算方式")
    private Integer calcType;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "删除标记")
    private Integer delFlag;

    @ApiModelProperty(value = "操作管理员")
    private String handleUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "SKU Json数据结构")
    private String skuData;
}
